package com.vic.bean;



import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * @Author: Vic Ly
 */
public class tableInfo {
    // 表名称
    private String tableName;

    // bean名称
    private String beanName;

    // 参数名称
    private String beanParamName;

    // 表注释
    private String comment;

    // 字段信息
    private List<fieldInfo> fieldList;

    // 扩展字段信息
    private List<fieldInfo> fieldExtendList;

    // 唯一索引集合
    private Map<String,List<fieldInfo>> keyIndexMap = new LinkedHashMap();

    // 是否有日期数据类型
    private Boolean haveDate;

    // 是否有时间类型
    private Boolean haveDateTime;

    // 是否有bigdecimal类型
    private boolean haveBigDecimal;

    // 三个haveXXX主要用于后面生成实体类时，判断引用类型是否需要导包

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getBeanName() {
        return beanName;
    }

    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }

    public String getBeanParamName() {
        return beanParamName;
    }

    public void setBeanParamName(String beanParamName) {
        this.beanParamName = beanParamName;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public List<fieldInfo> getFieldList() {
        return fieldList;
    }

    public void setFieldList(List<fieldInfo> fieldList) {
        this.fieldList = fieldList;
    }

    public List<fieldInfo> getFieldExtendList() {
        return fieldExtendList;
    }

    public void setFieldExtendList(List<fieldInfo> fieldExtendList) {
        this.fieldExtendList = fieldExtendList;
    }

    public Map<String, List<fieldInfo>> getKeyIndexMap() {
        return keyIndexMap;
    }

    public void setKeyIndexMap(Map<String, List<fieldInfo>> keyIndexMap) {
        this.keyIndexMap = keyIndexMap;
    }

    public Boolean getHaveDate() {
        return haveDate;
    }

    public void setHaveDate(Boolean haveDate) {
        this.haveDate = haveDate;
    }

    public Boolean getHaveDateTime() {
        return haveDateTime;
    }

    public void setHaveDateTime(Boolean haveDateTime) {
        this.haveDateTime = haveDateTime;
    }

    public boolean isHaveBigDecimal() {
        return haveBigDecimal;
    }

    public void setHaveBigDecimal(boolean haveBigDecimal) {
        this.haveBigDecimal = haveBigDecimal;
    }
}
